From: Chong Yidong Date: Sat, 14 Aug 2010 23:21:40 +0000 (-0400) Subject: * simple.el (kill-region): Doc fix (Bug#6787). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18^2~534 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a0c6d077f2b23b93563a5837c1a8eb7cb2d39524;p=emacs.git * simple.el (kill-region): Doc fix (Bug#6787). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4e816c16783..1f365ed53f4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-08-14 Chong Yidong + + * simple.el (kill-region): Doc fix (Bug#6787). + 2010-08-14 Glenn Morris * calendar/diary-lib.el (diary-header-line-format): diff --git a/lisp/simple.el b/lisp/simple.el index d0c27656e41..9b38f3cdbf3 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2959,7 +2959,8 @@ If the buffer is read-only, Emacs will beep and refrain from deleting the text, but put the text in the kill ring anyway. This means that you can use the killing commands to copy text from a read-only buffer. -This is the primitive for programs to kill text (as opposed to deleting it). +Lisp programs should use this function for killing text. + (To delete text, use `delete-region'.) Supply two arguments, character positions indicating the stretch of text to be killed. Any command that calls this function is a \"kill command\".